Minor string-length refactoring.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Aug 2013 15:42:08 +0000 (08:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 10 Aug 2013 15:42:08 +0000 (08:42 -0700)
commit989b378077c51342e95dc4ea6bfaa1c41928c03d
tree4a7a2b7e14a74f0bc8573d5507c693d2feeee2e9
parentb0f036e123c425ec5ceb428985e9ca5627c0be1e
Minor string-length refactoring.

* alloc.c (xstrdup): Use memcpy, not strcpy, since the length's known.
* frame.c (make_monitor_attribute_list):
Prefer build_string to strlen + make_string.
src/ChangeLog
src/alloc.c
src/frame.c